package com.sunmnet.j2ee.bean.powerdb.designer.chart;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * <PRE>
 * {类说明}
 * </PRE>
 * <B>项    目：</B>J2EE开发平台
 * <B>技术支持：</B>三盟科技 (c) 2016
 *
 * @author 黄坚：huangjian@sunmnet.com
 * @version 1.0 2016/7/29
 * @since jdk版本：jdk1.7
 */
public class BePropertiesRel {

	private String id;

	private String name;

	private String map;

	private BePosition position;

	public BePropertiesRel() {
	}

	public BePropertiesRel(String id, String name, String map, BePosition position) {
		this.id = id;
		this.name = name;
		this.map = map;
		this.position = position;
	}

	/**
	 * get map
	 *
	 * @return java.lang.String
	 */
	public String getMap() {
		return map;
	}

	/**
	 * set map
	 */
	public void setMap(String map) {
		this.map = map;
	}

	/**
	 * get name
	 *
	 * @return java.lang.String
	 */
	public String getName() {
		return name;
	}

	/**
	 * set name
	 */
	public void setName(String name) {
		this.name = name;
	}

	public BePosition getPosition() {
		return position;
	}

	public void setPosition(BePosition position) {
		this.position = position;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return new ReflectionToStringBuilder(
				this,
				ToStringStyle.MULTI_LINE_STYLE)
				.toString();
	}

}
